public class Main {
	public static void main(String[] args) {
		double m=20;
		int i=0;
		while(m!=1)
			{
			   m=m-m/3;
			   i++;
			}
		 System.out.println(i);
	}
}